home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / QuakeTools / src / libqbuild / vis.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-29  |  998 b   |  40 lines

  1. #ifndef    VIS_H
  2. #define    VIS_H
  3.  
  4. /*
  5.  * ============================================================================
  6.  * structures
  7.  * ============================================================================
  8.  */
  9.  
  10. typedef struct pstack_s {
  11.   struct pstack_s *next;
  12.   struct visleaf *leaf;
  13.   struct visportal *portal;                                   // portal exiting
  14.  
  15.   struct winding *source, *pass;
  16.   struct plane portalplane;
  17.   unsigned char *mightsee;                                   // bit string
  18. } __packed pstack_t;
  19.  
  20. typedef struct {
  21.   unsigned char *leafvis;                                   // bit string
  22.  
  23.   struct visportal *base;
  24.   pstack_t pstack_head;
  25. } __packed threaddata_t;
  26.  
  27. /*
  28.  * ============================================================================
  29.  * globals
  30.  * ============================================================================
  31.  */
  32.  
  33. /*
  34.  * ============================================================================
  35.  * prototypes
  36.  * ============================================================================
  37.  */
  38.  
  39. #endif
  40.